import request from '@/utils/request';

export async function wechatConfigList(params) {
  return request('/api/admin/testadmin/weconf', {
    method: 'get',
    body: params,
  });
}

export async function wecharConfigUpdate(params) {
  return request(`/api/admin/testadmin/upweconf`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

export async function wechatUserList(params) {
  console.log(params);
  return request(`/api/admin/testadmin/weuser`, {
    method: 'get',
  });
}
